import type { App, Directive } from 'vue'

const directive: Directive = {
    mounted(el) {
        console.log('inputFocus指令');
    },
    getSSRProps(binding, vnode) {
        return {}
    }
}

/**
 * 指令
 */
export const inputFocus = (app: App) => {
    app.directive('app-input-focus', directive)
}